<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/budget/costapply" aria-expanded="true">预算费用管理 </a></li>
                        <li class=""><a href="/app/core/budget/costapply?view=create" aria-expanded="false">预算费用申请</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12" id="listdiv">
                                <div class="btn-group" id="toobar">
                                    <span style="margin-left: 10px;">项目名称:</span> <span> <input readonly="readonly" placeholder="项目名称" style="width: 200px; display: inline-block;" id="projectIdQuery"
                                                                                                class="form-control">
											<div id="menuContent1" class="menuContent" style="margin-left: 70px;">
												<ul id="tree1" class="ztree"></ul>
											</div>
										</span> <span style="margin-left: 10px;">审批状态:</span> <span><select id="statusQuery" style="width: 200px; display: inline-block; border-radius: 0px;" class="form-control">
												<option value="">全部</option>
												<option value="0">审批中</option>
												<option value="1">通过</option>
												<option value="2">未通过</option>
										</select> </span> <span style="margin-left: 10px;">申请时间:</span> <span> <input type="text" class="form-control" id="beginTimeQuery" readonly="readonly" style="width: 150px; display: inline-block;"
                                                                                                                      placeholder="${i18n('system.beginTime')}" style="cursor: pointer;">
										</span> <span> - </span> <span> <input type="text" class="form-control" id="endTimeQuery" readonly="readonly" style="width: 150px; display: inline-block;" placeholder="${i18n('system.endTime')}"
                                                                               style="cursor: pointer;">
										</span> <span style="margin-left: 20px"> <a href="javascript:void(0);" class="btn btn-magenta js-simple-query">${i18n('system.search')}</a>
										</span>
                                </div>
                                <table id="myTable"></table>
                            </div>
                            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" id="creatediv" style="display: none;">
                                <form class="form-horizontal" id="form1">
                                    <table class="table table-hover table-striped table-bordered">
                                        <tr>
                                            <td width="20%">申请标题：</td>
                                            <td width="80%" colspan="3"><input placeholder="申请标题" type="text" name="title" id="title" maxlength="50" class="form-control"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">申请额度:</td>
                                            <td><input placeholder="申请额度" type="number" name="totalCost" id="totalCost" maxlength="50" class="form-control"></td>
                                            <td width="20%">支付时间:</td>
                                            <td><input readonly="readonly" placeholder="支出时间" type="text" name="payTime" id="payTime" maxlength="50" class="form-control"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">关联项目:</td>
                                            <td><input readonly="readonly" placeholder="关联项目" type="text" name="projectId" id="projectId" maxlength="50" class="form-control">
                                                <div id="projectContent" class="menuContent">
                                                    <ul id="ztree1" class="ztree"></ul>
                                                </div>
                                            </td>
                                            <td width="20%">费用科目:</td>
                                            <td><input readonly="readonly" placeholder="费用科目" type="text" name="budgetAccount" id="budgetAccount" maxlength="50" class="form-control">
                                                <div id="menuContent" class="menuContent">
                                                    <ul id="menuTree" class="ztree"></ul>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">申请人：</td>
                                            <td width="30%"><input placeholder="申请人" type="text" name="applyUser" id="applyUser" class="form-control" readonly="readonly" opt-id="applyUser" onclick="selectUser(this,'false');"></td>
                                            <td width="20%">审批人：</td>
                                            <td width="30%"><select id="approvalUser" name="approvalUser" class="form-control"></select></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">${i18n('attach')}：</td>
                                            <td width="80%" colspan="3">
                                                <div id="show_attach"></div>
                                                <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('budget','attach');" hidefocus="true"
                                                                                                                          maxlength="1" id="attach" name="attach" class="addfile" multiple="multiple"></a> <a class="addfile" style="width: 200px;" href="#" op_id="attach" onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">费用事由</td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">
                                                <div id="remark" name="remark" style="height: 300px"></div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4" align="center"><a id="createbut" href="javascript:void(0);" class="btn btn-primary js-update-save">更&nbsp;&nbsp;新</a> <a href="javascript:void(0);"
                                                                                                                                                                                     class="btn btn-purple js-back-btn" style="margin-left: 20px;">返&nbsp;&nbsp;回</a></td>
                                        </tr>
                                    </table>
                                </form>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/module/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/budget/cost/costapplymanage.js"></script>
</body>
</html>
